package com.catemanagement.model;

import java.io.Serializable;

/**
 * The Class Menu.
 */
public class Menu implements Serializable {

    /** The Constant serialVersionUID. */
    private static final long serialVersionUID = -4749068970586219965L;

    /** The id. */
    private Long id;

    /** The name. */
    private String name;

    /** The unit. */
    private String unit;

    /** The unit price. */
    private Float unitPrice;

    /** The category id. */
    private Long categoryId;

    /**
     * Instantiates a new menu.
     */
    public Menu() {

    }

    /**
     * Instantiates a new menu.
     * 
     * @param id the id
     * @param name the name
     * @param unit the unit
     * @param unitPrice the unit price
     */
    public Menu(Long id, String name, String unit, Float unitPrice) {
        this.id = id;
        this.name = name;
        this.unitPrice = unitPrice;
    }

    /**
     * Gets the id.
     * 
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * Sets the id.
     * 
     * @param id the new id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Gets the name.
     * 
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the name.
     * 
     * @param name the new name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Gets the unit.
     * 
     * @return the unit
     */
    public String getUnit() {
        return unit;
    }

    /**
     * Sets the unit.
     * 
     * @param unit the new unit
     */
    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * Gets the unit price.
     * 
     * @return the unit price
     */
    public Float getUnitPrice() {
        return unitPrice;
    }

    /**
     * Sets the unit price.
     * 
     * @param unitPrice the new unit price
     */
    public void setUnitPrice(Float unitPrice) {
        this.unitPrice = unitPrice;
    }

    /**
     * Gets the category id.
     * 
     * @return the category id
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * Sets the category id.
     * 
     * @param categoryId the new category id
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

}
